eio port#349
Open
mtelvers wants to merge 2 commits into
Open
Conversation
Drop Lwt throughout; use Eio for the engine, web server, capnp-rpc, prometheus and ocluster. Bumps the OCaml floor to 5.0 since Eio needs effects. Wiring changes that follow the ocurrent-deployer Eio port: - src/base_images.ml: Eio_main.run + Switch.run; thread sw/net/clock/fs through; Engine.create takes ~sw ~env and a closure that builds caps; Prometheus_unix.serve and Current_web.run are now Eio-aware. - src/pipeline.ml: Real plugin instance moved into v because Docker and OCluster are now per-engine first-class modules built from caps; notify_status takes ~slack alongside ~channel since Current_slack.post needs the runtime. - src/git_repositories.ml, src/win_ver.ml: drop Lwt operators in favour of Result.bind (let*); Process.exec takes a string list; Capnp_rpc.Std replaces Capnp_rpc_lwt; Cache.create now requires ~caps. - src/s.ml, src/dump.ml: alias Cluster_api = Current_ocluster.Cluster_api so the OCURRENT signature and the Fake module resolve against the new Cluster_api_eio package. Dockerfile: bump build base to ocaml/opam:debian-13-ocaml-5.4 and pin the prometheus / current_* / ocluster eio forks before installing deps.
- ocaml-dockerfile.8.3.9 - ocaml-version.4.0.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
eio port